 <!-- CONTENT -->
 <div id="jm-content" style="width: 98% !important;">

            <!-- <hr />
            <h3 style="color: #055280;font-weight:bold;font-size:20px;text-align:center;">
                
                <label class=""><?php echo $row->PREF_NAME; ?></label>
            </h3> -->
            <div class="">
                <?php                           
                if($this->rows != null){  
                    foreach($this->rows as $k=>$value){   
                        ?>
                        <div class="cc">
                            <h2>
                                <span class="id-cc"><?php echo $value->OCBA_CODE; ?></span>
                                <?php echo $value->OCBA_NAME; ?>
                                
                            </h2>
                            <table cellspacing="0" cellpadding="0" width="100%" border="0">
                                <tbody>
                                    <tr>
                                        <td width="100"><?php echo $value->OCBA_POST; ?></td>
                                        <td width="340" colspan="2"><?php echo $value->OCBA_ADD1; ?></td>
                                        <td width="180">
                                            <?php
                                                if($value->POOL_POHK == 1) {
                                                    echo '<img src="components/com_frcenter/public/images/pett_hot.gif" class="icon">';
                                                }
                                                elseif($value->POOL_POHK == 2) {
                                                    echo '<img src="components/com_frcenter/public/images/pett_heat.gif" class="icon">';
                                                }
                                                elseif(isset($value->POOL_OCBA_CODE)){
                                                    echo '<img src="components/com_frcenter/public/images/pett_pool.gif" class="icon"/>';                            
                                                }
                                            ?>
                                            <?php
                                            if(isset($value->GYMT_OCBA_CODE)){
                                                echo '<img src="components/com_frcenter/public/images/pett_phys.gif" class="icon"/>';
                                            }
                                            ?>
                                            <?php
                                                if($value->DOCK_DOCM_CODE == 2){
                                                    echo '<img src="components/com_frcenter/public/images/pett_mini.gif" class="icon"/>';
                                                }
                                                elseif(isset($value->DOCK_OCBA_CODE)){
                                                    echo '<img src="components/com_frcenter/public/images/pett_boat.gif" class="icon"/>';
                                                }
                                            ?>
                                            <?php
                                            if($value->OCBA_PUTF == 1){
                                                echo '<img src="components/com_frcenter/public/images/ocba_putf.gif" class="icon"/>';
                                            }
                                            ?>
                                            <?php
                                            if($value->OCBA_LARF == 1){
                                                echo '<img src="components/com_frcenter/public/images/ocba_larf.gif" class="icon"/>';
                                            }
                                            ?>
                                            <?php
                                            if($value->OCBA_CANF == 1){
                                                echo '<img src="components/com_frcenter/public/images/ocba_canf.gif" class="icon"/>';
                                            }
                                            ?>
                                            <?php
                                            if($value->OCBA_YACF == 1){
                                                echo '<img src="components/com_frcenter/public/images/ocba_yacf.gif" class="icon"/>';
                                            }
                                            ?>
                                            <?php
                                            if($value->OCBA_SCHF == 1){
                                                echo '<img src="components/com_frcenter/public/images/ocba_schf.gif" class="icon"/>';
                                            }
                                            ?>
                                            <?php
                                            if($value->OCBA_OUTF == 1){
                                                echo '<img src="components/com_frcenter/public/images/ocba_outf.gif" class="icon"/>';
                                            }
                                            ?>
                                            
                                        </td>
                                    </tr>
                <!--
                <tr>
                    <td style="width: 20%;"></td>
                    <td colspan="3"><?php echo $value->OCBA_ADD2; ?></td>
                    
                </tr>
            -->
            <tr>
                <td style="width: 20%;"></td>
                <td style="width: 25%;"><?php if(!empty($value->OCBA_TEL)){ ?>Tel：<?php echo $value->OCBA_TEL; } ?></td>
                <td style="width: 25%;"><?php if(!empty($value->OCBA_FAX)){ ?>Fax：<?php echo $value->OCBA_FAX; } ?></td>
                <td style="width: 30%;"></td>
            </tr>
            
        </tbody>
    </table>
    <hr/>
    <table cellspacing="0" cellpadding="0" width="100%" border="0">
        <tbody>
            <tr>
                <td colspan="4"><strong><?php echo $value->OCBA_LNAME; ?></strong></td>
            </tr>
            <tr>
                <td width="100"><?php echo $value->OCBA_LPOST; ?></td>
                <td width="340" colspan="2"><?php echo $value->OCBA_LADD1.$value->OCBA_LADD2; ?></td>
            </tr>
            <tr>
                <td style="width: 20%;"></td>
                <td style="width: 25%;"><?php if(!empty($value->OCBA_LTEL)){ ?>Tel：<?php echo $value->OCBA_LTEL; } ?></td>
                <td style="width: 25%;"><?php if(!empty($value->OCBA_LFAX)){ ?>Fax：<?php echo $value->OCBA_LFAX; } ?></td>
                <td style="width: 30%;"></td>
            </tr>
        </tbody>
    </table>
    
</div>

<?php
}
}
?>
<input type="hidden" name="task" value=""/>
<input type="hidden" name="boxchecked" value="0"/>
</div>
</div>
